package com.springboot.demo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wubc683
 * @desc
 * @date 2021-11-03 17:23
 */
@Data
public class ConnDevice {
    @ApiModelProperty(value = "场景连接id",required = true)
    @NotNull(message = "场景id不能为null")
    private Long connId;
    @ApiModelProperty(value = "设备id,-1表示没有配置",required = true)
    @NotNull(message = "设备id不能为null")
    private Long deviceId;
}
